package com.xiaocg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author xiaocg
 */
@Data
public class Product {
    private Long id;
    private String name;
    private Integer price;

    @Version
    private Integer version;

}
